<x-button (click)="dialog()">弹框表格自适应</x-button>
<x-dialog title="弹框表格自适应(缩放浏览器窗口查看效果)" width="80%" height="80%" [(visible)]="visible">
  <x-table
    [columns]="columns"
    [data]="data"
    [(index)]="index"
    [(size)]="size"
    [total]="total"
    [bodyHeight]="420"
    [adaptionHeight]="104"
    [docPercent]="0.8"
    (indexChange)="indexChange($event)"
    (sortChange)="sortChange($event)"
    [virtualScroll]="true"
  >
  </x-table>
</x-dialog>
